/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import '~antd/es/style/themes/default.less';

.container {
  display: flex;
  flex-direction: column;
  overflow: auto;
  background: @layout-body-background;
}

.lang {
  width: 100%;
  height: 42px;
  line-height: 42px;
  text-align: right;
}

a {
  color: #fff;

  &:hover {
    color: @primary-color;
  }
}

.github {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: 16px;
  vertical-align: middle;
  cursor: pointer;
}

.content {
  flex: 1;
  padding: 32px 0;
}

@media (min-width: @screen-md-min) {
  .container {
    background-repeat: no-repeat;
    background-position: center 110px;
    background-size: 100%;
  }

  .content {
    padding: 32px 0 24px;
  }
}

.top {
  text-align: center;
}

.header {
  height: 44px;
  line-height: 44px;

  a {
    text-decoration: none;
  }
}

.logo {
  height: 60px;
  margin-right: 16px;
  vertical-align: top;
}

.title {
  position: relative;
  top: 2px;
  color: @heading-color;
  font-weight: 600;
  font-size: 33px;
  font-family: Avenir, 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.desc {
  margin-top: 20px;
  margin-bottom: 40px;
  color: @text-color-secondary;
  font-size: @font-size-base;
}
.loginBox{
  width: 400px;
  height: 100%;
  background: #282F3D;
  position: absolute;
  right: 0px;
  top: 0px;
}
.main {
  width: 368px;
  margin: 0 auto;
  margin-top: 50%;
  @media screen and (max-width: @screen-sm) {
    width: 95%;
  }

  .icon {
    margin-left: 16px;
    color: rgba(0, 0, 0, 0.2);
    font-size: 24px;
    vertical-align: middle;
    cursor: pointer;
    transition: color 0.3s;

    &:hover {
      color: @primary-color;
    }
  }

  .submit {
    width: 100%;
  }

  .other {
    margin-top: 24px;
    line-height: 22px;
    text-align: left;

    .register {
      float: right;
    }
  }
}
.login_container{
    width: 100%;
    height: 100%;
    font-size: 0;
    min-width: 1200px;
    min-height: 880px;
  }
  .login_left_container{
    display: inline-block;
    width: calc(100% - 400px);
    background: white;
    height: 100%;
  }
  .left_header{
    width: 100%;
    height: 110px;
  }
  .left_header > .topLeftImg{
    width: 120px;
    height: 110px;
    margin: 0 7% 0 8%;
  }
  .left_header > .logoImg{
    width: 200px;
    height: 35px;
  }
  .left_main_container{
    height: calc(100% - 110px);
  }
  .left_main_container:before{
    content: '';
    display:table;
  }
  .left_main_container .text_box{
    margin-top: 80px;
    margin-left: calc(15% + 120px);
    padding-right: 10%;
  }
  .left_main_container .text_box > h2{
    font-size: 30px;
    margin: 35px 0;
  }
  .left_main_container .text_box > p{
    font-size: 16px;
    color: #2E3341;
    margin: 15px 0;
  }
  .carousel_box{
    padding: 0px 10%;
    height: 150px;
    max-width: calc(30% + 860px);
  }
  .left_main_content{
    height: 430px;
    width: 100%;
    background: url('../../assets/logo_sina.png') no-repeat;
    padding-top: 100px;
    position: relative;
  }
  .right_bottom_img{
    position: absolute;
    width: 65px;
    bottom: 100px;
    right: 370px;
    z-index: 10;
  }
  .carousel_content{
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-size: 14px;
    color: #FFFFFF;
    padding: 20px 140px 0 40px;
  }
  .carousel_content p:nth-child(1){
    font-size: 16px;
    margin: 10px 0;
  }
  .carousel_content p:nth-child(2){
    font-size: 12px;
    margin: 10px 0;
  }
  .left_main_footer{
    height: 44px;
    width: 303px;
    font-size: 14px;
    color: #2E3341;
    position: absolute;
    bottom: 0;
    left: 300px;
  }
